package com.kjsb.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kjsb.entity.Expert;
import com.kjsb.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ExpertDao extends BaseMapper<Expert> {

    @Select("select * from expert where uid=#{uid}")
    Expert getByUid(Integer uid);
}
